package com.zzw.bridge.business.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzw.bridge.common.page.Pages;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 文件报表信息DTO
 *
 * @author XiaoJie
 * @date 2025/5/22 14:21
 */
@Schema(name = "文件报表信息DTO", description = "文件报表信息DTO	")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FileReportQueryDTO extends Pages implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    private String id;

    @Schema(description = "墩柱报表id")
    private String reportId;

    @Schema(description = "点云id（也是文件在目标地址的文件夹目录）")
    private String cloudId;

    @Schema(description = "文件地址")
    private String fileUrl;

    @Schema(description = "文件名称")
    private String fileName;

    @Schema(description = "上传时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @Schema(description = "是否删除（0-未删除；1-已删除）")
    private Integer isDelete;
}
